import React, { Component } from 'react'
import Registe from './Registe'
import Login from './Login'
import Common from './Common'
export default class App extends Component {
  render() {
    return (
      <div>
        <Common ele={Login}></Common>
        <Common ele={Registe}></Common>
        {/* <Registe
          username={this.state.username}
          password={this.state.password}
          repassword={this.state.repassword}
          handle={this.handle}
        ></Registe>
        <hr />
        <Login
          username={this.state.username}
          password={this.state.password}
          repassword={this.state.repassword}
          handle={this.handle}
        ></Login> */}
      </div>
    )
  }
}
